
import React from 'react'
import { Link } from 'react-router-dom'
import  {navdata}  from '../utils/navdata'
import { HomeOutlined, ProfileOutlined,MessageOutlined,UserOutlined } from '@ant-design/icons';
import './myfoot.scss'
export default function Myfoot() {
  return (
    <div>
      <footer>
         {
           navdata.map((item:any,index:any)=>(
              <div key={index}>
                <Link to={item.path}>
                  {item.icon}
                  <span>{item.text}</span>
                </Link>
              </div>
            ))
         }
      </footer>
    </div>
  )
}
